def test_encrypted_data_storage(data_encryptor):
    plaintext = "sensitive data"
    ciphertext = data_encryptor.encrypt(plaintext)
    assert ciphertext != plaintext
    assert data_encryptor.decrypt(ciphertext) == plaintext